package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.OrdersReward;
import com.ytjj.qmyx.mall.model.OrdersRewardExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrdersRewardMapper {
    long countByExample(OrdersRewardExample example);

    int deleteByExample(OrdersRewardExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrdersReward record);

    int insertSelective(OrdersReward record);

    List<OrdersReward> selectByExample(OrdersRewardExample example);

    OrdersReward selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrdersReward record, @Param("example") OrdersRewardExample example);

    int updateByExample(@Param("record") OrdersReward record, @Param("example") OrdersRewardExample example);

    int updateByPrimaryKeySelective(OrdersReward record);

    int updateByPrimaryKey(OrdersReward record);
}